home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Magazin/MacEasy 12
/
Mac Magazin and MacEasy Magazine CD - Issue 12.iso
/
Sharewarebibliothek
/
DFÜ
/
Internet
/
HTML Markup 1.0ß4
/
What's New in 1.0b4
< prev
Wrap
Text File
|
1995-06-24
|
3KB
|
66 lines
HTML Markup What's New
----------------------
First the technical stuff:
•New estimation algorithm
Previous versions of HTML Markup used a really bad method for allocating
the amount of memory to take up for outputting the new file. Since the
memory needed to be allocated before the file was translated, I predicted
that the file could not be larger than twice the size of the original
plus a buffer of a few hundred bytes. Realizing that this was a
questionable method, I implemented a new algorithm that pre-processes
each file to just keep track of how much space it needs. Then it does
the actual processing after allocating the correct amount of memory.
I hear computer science majors groaning. True, it does theoretically
double the processing time for each file, but in reality, it doesn't
make much of a difference. With 200 files, there was only a 4% speed
loss on a 68k Mac (I am planning extensive tests before the release).
This is because most of the time spent translating is actually in
the output of the file, which is still done only once.
•More escape code conversions
I have implemented the essentials from the ISO 8859-1 character set.
•Smarter list conversion
In previous versions, if you have a - in a word and had selected
list conversion, Markup would treat that as an item in a list. This
version will only treat lists as lines that start with that character
as the first character in the line.
•Estimation error alert
Since I'm paranoid, I wasn't sure if my estimation algorithm will always
work. It will, but I haven't convinced myself yet. So I did two things.
First, there is a buffer added the the amount of memory allocated just
to be safe. I also have programmed an alert box to come up if the estimated
file size is smaller than the actual. You probably won't ever see it.
Now the interface stuff:
•Output ticket
A button from the main job ticket will pop up the output ticket, where
you can check off your file options. The three choices for output are
to replace the original file with the new one, attach .html to the
original file name, or prompt to save. You can also set the creator
code of the file. The next version of Markup will have a popup menu
that allows you to select from popular creator codes.
•Convert lines to <hr>
This option will convert lines that consist of a string of dashes into
<hr> lines in HTML.
•Keep inline flags
This is a feature that I'm really excited about. It cuts down any
HTML development time a lot. Now all you have to do to create an
HTML file is write the actual text with all your anchors, links,
graphics, etc, and run it through Markup. Selecting "keep inline
flags" will keep anything between < and > but will still add in
<HTML>, <HEAD>, <BODY>, etc.
I have set up an informal questionaire online for your to submit your comments.
Please read the file "Help me out!" for more information.
-Scott J. Kleper
6/24/95